﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QLZJFurnitureSCM.Model;
using System.Data;

namespace QLZJFurnitureSCM.DAL
{
    public interface IProductDAO
    {
        List<Product> FindProductsByProductType(int productType);
        bool CheckExistProductsByProductName(Product product);
        DataTable ReadInDataTable(bool descSort);
        DataTable ReadInDataTableByProductType(int productType);
        bool UpdateProduct(Product product);
        bool UpdateProductCount(Product product);
        bool UpdateDataTable(DataTable dt);
        bool DeleteProduct(Product product);
        bool DeleteByProductType(int productType);
        
    }
}
